﻿@model CongressVote.Models.Users

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>Users</legend>

    <div class="display-label">User_Type</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.User_Type)
    </div>

    <div class="display-label">name</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.name)
    </div>

    <div class="display-label">userName</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.userName)
    </div>

    <div class="display-label">userPassword</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.userPassword)
    </div>

    <div class="display-label">password_salt</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.password_salt)
    </div>

    <div class="display-label">District</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.District.name)
    </div>

    <div class="display-label">State</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.State.name)
    </div>

    <div class="display-label">Party</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Party.name)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.id }) |
    @Html.ActionLink("Back to List", "Index")
</p>
